package com.aqie.libfactory.model.api.account;


public class AccountRspModel {
    private String userId;
    // 当前登录的账号
    private String phone;
    private String username;
    // 当前登录成功后获取的Token,
    // 可以通过Token获取用户的所有信息
    private String token;
    // 标示是否已经绑定到了设备PushId
    private boolean bind;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String account) {
        this.phone = phone;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public boolean isBind() {
        return bind;
    }

    public void setBind(boolean bind) {
        this.bind = bind;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "AccountRspModel{" +
                "userId='" + userId + '\'' +
                ", phone='" + phone + '\'' +
                ", username='" + username + '\'' +
                ", token='" + token + '\'' +
                ", bind=" + bind +
                '}';
    }
}
